package org.lilred.nzbberry.webservice;

import org.lilred.nzbberry.http.HttpRequestDispatcher;

public class SabnzbdActionClient extends SabnzbdClient {
	public void requestSucceeded(byte[] result, String contentType) {
		System.out.println("API action completed successfully: " + toString());
		System.out.println(new String(result));
	}
	
	public void performAction(String queryString) {
		dispatcher = new HttpRequestDispatcher(getApiUrl() + queryString, "GET", this);
		dispatcher.start();
	}
}
